package com.mew.common.entity.record;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.mew.common.util.DateUtils;
import com.mew.common.util.NumberUtil;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.util.Date;


@TableName("r_inout_room")
@Data
@ToString
@NoArgsConstructor
public class InoutRoom  {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;
    @TableField("user_id")
    private Long userId;
    @TableField("game_id")
    private Integer gameId;
    @TableField("room_id")
    private Integer roomId;
    /**
     * 桌子号
     */
    @TableField("table_id")
    private Integer tableId;
    /**
     * 座位号
     */
    @TableField("seat_no")
    private Integer seatNo;
    /**
     * 进入房间时间
     */
    @TableField("in_time")
    private Date inTime;
    /**
     * 设备类型【0 未知，1，正常手机，2，模拟器，3云手机,】
     */
    @TableField("devices_type")
    private Integer devicesType;
    /**
     * 进入背包金币
     */
    @TableField("in_gold_number")
    private Long inGoldNumber;
    /**
     * 进入银行数量
     */
    @TableField("in_level_id")
    private Integer inLevelId;
    /**
     * 押注次数
     */
    @TableField("play_total")
    private Integer playTotal;
    /**
     * 押注金额
     */
    @TableField("bet_total")
    private Long betTotal;
    /**
     * p赔付数量
     */
    @TableField("payment_total")
    private Long paymentTotal;

    @TableField("max_gold_number")
    private Long maxGoldNumber;

    @TableField("max_payment_number")
    private Long maxPaymentNumber;

    @TableField("max_payment_multiple")
    private Integer maxPaymentMultiple;

    @TableField("special_total")
    private Integer specialTotal;
    @TableField("win_total")
    private Integer winTotal;
    /**
     * 退出房间时间
     */
    @TableField("out_time")
    private Date outTime;
    /**
     * 退出时 背包金币数量
     */
    @TableField("out_gold_number")
    private Long outGoldNumber;
    /**
     * 退出银行数量
     */
    @TableField("out_level_id")
    private Integer outLevelId;
    /**
     * 0表示未完成，1表示已完成【退出】
     */
    @TableField("state")
    private Integer state;
    @TableField("remark")
    private String remark;
    /**
     * 服务器IP
     */
    @TableField("server_id")
    private Integer serverId;



}
